package cn.iocoder.yudao.module.wengfu.controller.admin.approval.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 样品审批新增/修改 Request VO")
@Data
public class SampleApprovalInfoSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "31149")
    private Long id;

    @Schema(description = "样品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "31282")
    @NotEmpty(message = "样品编号不能为空")
    private String sampleId;

    @Schema(description = "化验编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "20939")
    @NotEmpty(message = "化验编号不能为空")
    private String testId;

    @Schema(description = "流程实例的编号", example = "4980")
    private String processInstanceId;

    @Schema(description = "流程状态（0:进行中 1:已通过 2:不通过）", example = "1")
    private Integer processStatus;

    @Schema(description = "审批状态（0:待提交 1:审批中 2:已通过 3:已驳回 4:已撤回）", example = "1")
    private Integer approvalStatus;

    @Schema(description = "审批人")
    private String approver;

    @Schema(description = "审批时间")
    private LocalDateTime approvalTime;

    @Schema(description = "审批意见", example = "随便")
    private String approvalRemark;

}